package com.dragon.modules.yuegou.entity.live;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 直播间回放视频实体类<br>
 * 对应的表为：live_getliveinfo<br>
 * 
 * @author ZSH
 * @date 2020-06-06 15:48:40
 * @company sgy
 * @version 2.0
 */
@TableName("live_getliveinfo")
@ApiModel(description = "直播间回放视频")
public class GetliveinfoEntity {

    /** Id */
	@ApiModelProperty("Id")
	protected String id;

    /** 商圈Id */
	@ApiModelProperty("商圈Id")
	protected String busdId;

    /** 直播间Id */
	@ApiModelProperty("直播间Id")
	protected String broadcastId;

    /** 回放视频 */
	@ApiModelProperty("回放视频")
	protected String mediaUrl;

    /** 回放视频 url 过期时间 */
	@ApiModelProperty("回放视频 url 过期时间")
	protected LocalDateTime expireTime;

    /** 回放视频创建时间 */
	@ApiModelProperty("回放视频创建时间")
	protected LocalDateTime createTime;

	/**
	 * 构造一个空直播间回放视频实体对象
	 */
	public GetliveinfoEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个直播间回放视频实体对象
	 * 
	 * @param other 其它对象
	 */
	public GetliveinfoEntity(GetliveinfoEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.broadcastId = other.broadcastId;
     	this.mediaUrl = other.mediaUrl;
     	this.expireTime = other.expireTime;
     	this.createTime = other.createTime;
	}


	/**
	 * 获取Id
	 * 
	 * @return id Id
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置Id
	 * 
	 * @param id Id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商圈Id
	 * 
	 * @return busdId 商圈Id
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置商圈Id
	 * 
	 * @param busdId 商圈Id
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取直播间Id
	 * 
	 * @return broadcastId 直播间Id
	 */
	public String getBroadcastId() {
		return broadcastId;
	}
  	
	/**
	 * 设置直播间Id
	 * 
	 * @param broadcastId 直播间Id
	 */
	public void setBroadcastId(String broadcastId) {
		this.broadcastId = broadcastId;
	}

	/**
	 * 获取回放视频
	 * 
	 * @return mediaUrl 回放视频
	 */
	public String getMediaUrl() {
		return mediaUrl;
	}
  	
	/**
	 * 设置回放视频
	 * 
	 * @param mediaUrl 回放视频
	 */
	public void setMediaUrl(String mediaUrl) {
		this.mediaUrl = mediaUrl;
	}

	/**
	 * 获取回放视频 url 过期时间
	 * 
	 * @return expireTime 回放视频 url 过期时间
	 */
	public LocalDateTime getExpireTime() {
		return expireTime;
	}
  	
	/**
	 * 设置回放视频 url 过期时间
	 * 
	 * @param expireTime 回放视频 url 过期时间
	 */
	public void setExpireTime(LocalDateTime expireTime) {
		this.expireTime = expireTime;
	}

	/**
	 * 获取回放视频创建时间
	 * 
	 * @return createTime 回放视频创建时间
	 */
	public LocalDateTime getCreateTime() {
		return createTime;
	}
  	
	/**
	 * 设置回放视频创建时间
	 * 
	 * @param createTime 回放视频创建时间
	 */
	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

    public String toString() {
		return new StringBuilder().append("GetliveinfoEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",broadcastId=").append(broadcastId).
			append(",mediaUrl=").append(mediaUrl).
			append(",expireTime=").append(expireTime).
			append(",createTime=").append(createTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public GetliveinfoEntity copy() {
		return new GetliveinfoEntity(this);
	}

    /** Id */
	public static final String COL_ID = "id";

    /** 商圈Id */
	public static final String COL_BUSD_ID = "busd_id";

    /** 直播间Id */
	public static final String COL_BROADCAST_ID = "broadcast_id";

    /** 回放视频 */
	public static final String COL_MEDIA_URL = "media_url";

    /** 回放视频 url 过期时间 */
	public static final String COL_EXPIRE_TIME = "expire_time";

    /** 回放视频创建时间 */
	public static final String COL_CREATE_TIME = "create_time";
}
